<?php /* Smarty version 2.6.26, created on 2014-11-11 21:30:02
         compiled from page/negara.html */ ?>
<p>Daftar data kode dan nama negara</p>
<table class="table table-bordered table-hover" style="width: 60%">
	<thead>
		<tr>
			<th>Code Negara</th>
			<th>Nama Negara</th>			
			<th></th>
		</tr>	
	</thead>	
	<tbody>
		<?php $_from = $this->_tpl_vars['negara']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['val']):
?>
		<tr>
			<td><?php echo $this->_tpl_vars['val']['code']; ?>
</td>
			<td><?php echo $this->_tpl_vars['val']['nationality']; ?>
</td>			
			<td>
				<a href="edit_negara.php?id=<?php echo $this->_tpl_vars['val']['id_nationality']; ?>
" class="btn btn-mini btn-primary">
					<i class="icon-pencil"></i> Edit</a>
			</td>
		</tr>	
		<?php endforeach; endif; unset($_from); ?>
	</tbody>	
</table>	